package com.his.service;

import com.his.pojo.CheckRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.his.pojo.MedicalTechnology;

import java.util.List;
import java.util.Map;

/**
* @author Administrator
* @description 针对表【check_request】的数据库操作Service
* @createDate 2024-10-17 09:20:15
*/
public interface CheckRequestService extends IService<CheckRequest> {

    /*查询某个病人检查项目*/
    public List<MedicalTechnology> queryCheckRequestList(String caseNumber,String realName);

    /*实现待检查人员分页查询*/
    public Map<String,Object> queryNoCheckListService(Integer pageNumber,Integer pageSize,
            String caseNumber,String realName);

    /*更具检查项id，查询某个病人某个检查项*/
    public MedicalTechnology queryCheckItemListService(Integer id);

    /*定义方法，查询正在进行检查的患者列表*/
    public Map<String,Object> queryCheckingListService(Integer pageNum,Integer pageSize,
                                                       String caseNumber,String realName);

    /*根据挂号id，查询某个病人已完成检查项*/
    public List<MedicalTechnology> queryCheckedRequestList(Integer id);

    /*根据检查id，查询检查结果*/
    public CheckRequest queryCheckResultService(Integer id);
}
